/**
 *  线下活动
 * @author litao
 */
import { get, post } from './request';

const show = { loading: true, success: false };

// 线下活动 列表
export const activityPage = (params: object) => get('/regressive/emp/empofflineevent/page', params, show);

// 线下活动 详情
export const activityDetail = (params: object) => get('/regressive/emp/empofflineevent/detail', params, show);

// 线下活动 报名
export const activityAdd = (params: object) => post('/regressive/emp/empofflineapplication/add', params, show);

// 线下活动 报名 列表
export const activityApplyPage = (params: object) => get('/regressive/emp/empofflineapplication/page', params, show);

// 线下活动 报名详情
export const activityApplyDetail = (params: object) => get('/regressive/emp/empofflineapplication/queryAppEventInfo', params, show);

